package com.ruoyi.app.mapper;

import com.ruoyi.app.domain.Balance;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
* @author 75460
* @description 针对表【balance(余额)】的数据库操作Mapper
* @createDate 2025-05-20 09:08:18
* @Entity com.ruoyi.app.domain.Balance
*/
public interface BalanceMapper {

    Balance balanceById(Integer patientId);

    void recharge(@Param("patientId") Integer patientId, @Param("price") BigDecimal price);

    void Updaterecharge(@Param("patientId")Integer patientId, @Param("result") BigDecimal result);
}




